Query buffer for image information such as width, height, bitdepth and image data type.
'Declaration
Public Overloads Shared Function QueryBuffer( _
ByVal As ImagXpress, _
ByVal () As Byte, _
ByVal As Integer, _
ByVal As LoadOptions _
) As ImageXData
'Usage
Dim imagXpress As ImagXpress
Dim buffer() As Byte
Dim pageNumber As Integer
Dim loadOptions As LoadOptions
Dim value As ImageXData
value = ImageX.QueryBuffer(imagXpress, buffer, pageNumber, loadOptions)
public static ImageXData QueryBuffer(
ImagXpress ,
byte[] ,
int ,
LoadOptions
)
public: static ImageXData* QueryBuffer(
ImagXpress* ,
byte[]* ,
int ,
LoadOptions*
)
Parameters
- imagXpress
- An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
- buffer
- A byte array which contains image information.
- pageNumber
- An integer value which represents the page number. This parameter is one-based. So, pageNumber = 1 corresponds to the first page.
- loadOptions
- Additional load options which contain information about loading the image.
Return Value
An ImageXData object containing information about the image being queried.